package com.lanvideo.entity;

/**
 * 考试题目关联实体类
 */
public class ExamQuestion {
    private Integer id;
    private Integer examId;
    private Integer questionId;
    private Integer questionOrder;
    
    // 关联字段
    private Question question;

    public ExamQuestion() {}

    public ExamQuestion(Integer examId, Integer questionId, Integer questionOrder) {
        this.examId = examId;
        this.questionId = questionId;
        this.questionOrder = questionOrder;
    }

    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getExamId() {
        return examId;
    }

    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getQuestionOrder() {
        return questionOrder;
    }

    public void setQuestionOrder(Integer questionOrder) {
        this.questionOrder = questionOrder;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }
}
